﻿namespace smp.RabbitMq
{
    public interface ISubscriberHandler
    {}

    public interface ISubscriberHandler<TMessage> : ISubscriberHandler
    {
        void Handle(TMessage message);
    }

    public interface IResponderHandler
    {}

    public interface IResponderHandler<TMessage, TResponse> : IResponderHandler
    {
        TResponse Respond(TMessage message);
    }
}
